﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Method
{
    class Program
    {
        static void Main(string[] args)
        {
            //部门
            //无参
            Staff staff = new Staff();
            staff.Number = "231102";
            staff.Name = "李四";
            staff.Depm = "运营部";
            staff.GetStaff();
            //有参
            Staff staff1 = new Staff("231101", "张三", "公关部");
            staff1.GetStaff();

            //图书馆
            //用户类
            User user = new User("admin ","123123", "行政部");
            user.user();
            //图书类
            Book book = new Book();
            book.ISBN = "01";
            book.BookName = "史记";
            book.Price = 125;
            book.Press = "中华书局";
            book.Writer = "司马迁";
            book.book();
            //出版社
            Press press = new Press();
            press.PressName = "中华书局";
            press.Address = "北京市王府井大街36号";
            press.Contacts = "王五";
            press.press();
        }
    }
}
